package com.ruoyi.place.domain;

import com.ruoyi.place_type.domain.PlaceType;
import com.ruoyi.user.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场所信息对象 sys_place
 * 
 * @author 张富饶
 * @date 2025-05-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Place extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 负责人的电话或者姓名等信息 */
    @Excel(name = "负责人的电话或者姓名等信息")
    private Long managerId;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 场所图片 */
    @Excel(name = "场所图片")
    private String image;

    /** 场所类型ID */
    @Excel(name = "场所类型ID")
    private Long typeId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 场所描述 */
    @Excel(name = "场所描述")
    private String description;

    /** 状态（0-关闭 1-运营中） */
    @Excel(name = "状态", readConverterExp = "0=-关闭,1=-运营中")
    private Long status;

//用户信息表
private User user;
//场所分类
    private PlaceType placeType;

}
